﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Computer_Manager.DTO
{
    class DTO_user
    {
        private int _id_user;

        public int id_user
        {
            get { return _id_user; }
            set { _id_user = value; }
        }

        private string _username;

        public string username
        {
            get { return _username; }
            set { _username = value; }
        }

        private string _password;

        public string password
        {
            get { return _password; }
            set { _password = value; }
        }
        private string _fullname;

        public string fullname
        {
            get { return _fullname; }
            set { _fullname = value; }
        }

        private bool _gender;

        public bool gender
        {
            get { return _gender; }
            set { _gender = value; }
        }
        private int _role_id;

        public int role_id
        {
            get { return _role_id; }
            set { _role_id = value; }
        }

        public DTO_user() 
        {
            _id_user = 0;
            _username = null;
            _password = null;
            _role_id = 0;
        }


        public DTO_user(string Username, string Password, int Role_id) 
        {
            _username = Username;
            _password = Password;
            _role_id = Role_id;
        }
    }
}
